Better baseline adjustment
authorMatthias Clasen <mclasen@redhat.com>
Thu, 25 Feb 2016 21:36:13 +0000 (16:36 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 25 Feb 2016 21:36:13 +0000 (16:36 -0500)
commit09b15710933d4727246079d2345b84c59e9defc3
tree412ed7c67cdad735c12e043159b0d9a2ef850f2d
parenta975e733dcb0c270255d64136f00461547140491
Better baseline adjustment

The way we were adjusting baselines if min-height forces
a size increase was not quite working as intended. Redo
it in a simpler way: just split up the excess and count
half of it for above the baseline and half below.

This fixes button labels in dialogs appearing too low.
gtk/gtkcssgadget.c